#ifndef GLOBALTYPE_H
#define GLOBALTYPE_H
#include <functional>
#include <QObject>

using ResolveCallback = std::function<void()>;
using RejectCallback = std::function<void()>;
using EditableFunctor = std::function<bool(int)>;

enum DataRole { ID_ROLE = Qt::UserRole + 1000, CHECK_STATE_ROLE, DISABLED_ROLE, OTHER_ROLE };

struct Constants
{
    static constexpr qint64 GB = 1024 * 1024 * 1024;
};

#endif // GLOBALTYPE_H
